<%@ include file="../tagJSONLibIncludes.jsp" %>
{
<spring:hasBindErrors name="user">
   hasError:true,
   fields:[
   <spring:bind path="user.username">
       {name:'${status.expression}',value:'<c:out value="${status.errorMessages[0]}"/>'},
   </spring:bind>
   <spring:bind path="user.password">
       {name:'${status.expression}',value:'<c:out value="${status.errorMessages[0]}"/>'}
   </spring:bind>
   ]
</spring:hasBindErrors>
}